﻿<?xml version="1.0" encoding="utf-8" ?>
<GadgeteerDefinitions xmlns="http://schemas.microsoft.com/Gadgeteer/2011/Hardware">
  <MainboardDefinitions>
	<!-- This mainboard definition should be filled in.  Mouse over any attribute name to get more help about that attribute. -->
	<MainboardDefinition
			Name="FEZCobra II"
			Type="GHIElectronics.Gadgeteer.FEZCobra_II"
			HardwareVersion="1.0"
			Image="Resources\Image.jpg"
			BoardWidth="112"
			BoardHeight="122"
			MinimumGadgeteerCoreVersion="2.42.500"
			HelpUrl="http://www.ghielectronics.com/catalog/product/398"
			>

	  <Power>
		<PowerRequirements Voltage="3.3">
		  <TypicalCurrent>0.085</TypicalCurrent>
		  <MaximumCurrent>0.140</MaximumCurrent>
		</PowerRequirements>

		<PowerRequirements Voltage="5">
		  <TypicalCurrent>0.0</TypicalCurrent>
		  <MaximumCurrent>0.0</MaximumCurrent>
		</PowerRequirements>
	  </Power>

	  <!-- Assemblies listed here are added to the project as references by the designer whenever this module is instantiated.  -->
	  <!-- This functionality is used to -->
	  <!--   (1) include the output assemblies of this template -->
	  <!--   (2) include other custom assemblies that the mainboard relies on (NB you must edit msm.wxs so these are installed too) -->
	  <!-- Some examples are provided inline: -->

	  <Assemblies>
		<!-- This lists the assemblies which provides the API to this mainboard, i.e. the output assemblies of this template. -->
		<!-- If you do not provide support for both NETMF 4.1 and 4.2, the relevant lines should be removed -->
		<!-- NB you should use the same name for the same assembly's NETMF 4.1 and NETMF 4.2 versions, since this will make it easier for users to change framework versions -->
		<!-- <Assembly MFVersion="4.1" Name="GHIElectronics.Gadgeteer.FEZCobra_II"/> -->
		<Assembly MFVersion="4.2" Name="GHIElectronics.Gadgeteer.FEZCobra_II"/>

		<!-- If your mainboard driver relies on another assembly, then list it here (and see the msm.wxs file since you need to include it in the installer too), e.g.: -->
		<!--
		<Assembly MFVersion="4.1" Name="GHIElectronics.CustomAssembly"/>
		<Assembly MFVersion="4.2" Name="GHIElectronics.CustomAssembly"/>
		-->
	  </Assemblies>

	  <!-- This is a list of sockets provided by this mainboard for modules to be attached to. -->
	  <ProvidedSockets>

		<!--Left Side of Board-->
		<ProvidedSocket Label="1" Left="28.5" Top="48.0" Orientation="180" ConstructorParameter="1">
		  <Types>
			<Type>B</Type>
			<Type>Y</Type>
		  </Types>
		</ProvidedSocket>

		<ProvidedSocket Label="2" Left="28.7" Top="62.4" Orientation="180" ConstructorParameter="2">
		  <Types>
			<Type>G</Type>
		  </Types>
		</ProvidedSocket>

		<ProvidedSocket Label="3" Left="28.7" Top="78.2" Orientation="180" ConstructorParameter="3">
		  <Types>
			<Type>R</Type>
			<Type>Y</Type>
		  </Types>
		</ProvidedSocket>


		<!--Right Side of Board-->
		<ProvidedSocket Label="4" Left="105" Top="60.0" Orientation="0" ConstructorParameter="4">
		  <Types>
			<Type>A</Type>
			<Type>I</Type>
			<Type>T</Type>
			<Type>X</Type>
		  </Types>
		  <SharedPinMaps>
			<SharedPinMap NetId="I2CSDA" SocketPin="8"/>
			<SharedPinMap NetId="I2CSCL" SocketPin="9"/>
		  </SharedPinMaps>
		</ProvidedSocket>

		<ProvidedSocket Label="5" Left="105" Top="75.6" Orientation="0" ConstructorParameter="5">
		  <Types>
			<Type>U</Type>
			<Type>X</Type>
		  </Types>
		</ProvidedSocket>

		<ProvidedSocket Label="6" Left="104.4" Top="91.5" Orientation="0" ConstructorParameter="6">
		  <Types>
			<Type>S</Type>
			<Type>X</Type>
		  </Types>
		</ProvidedSocket>

		<!--Extender Board-->
		<ProvidedSocket Label="7" Left="94.4" Top="26.5" Orientation="90" ConstructorParameter="7">
		  <Types>
			<Type>P</Type>
			<Type>U</Type>
			<Type>Y</Type>
		  </Types>
		</ProvidedSocket>

		<ProvidedSocket Label="8" Left="74.2" Top="26.5" Orientation="90" ConstructorParameter="8">
		  <Types>
			<Type>I</Type>
			<Type>K</Type>
			<Type>U</Type>
			<Type>X</Type>
		  </Types>
		  <SharedPinMaps>
			<SharedPinMap NetId="P0.17" SocketPin="7" SharedOnly="false" />
		  </SharedPinMaps>
		</ProvidedSocket>

		<ProvidedSocket Label="9" Left="32.7" Top="26.4" Orientation="90" ConstructorParameter="9">
		  <Types>
			<Type>A</Type>
			<Type>O</Type>
			<Type>S</Type>
			<Type>X</Type>
		  </Types>
		  <SharedPinMaps>
			<SharedPinMap NetId="P0.17" SocketPin="8" SharedOnly="false" />
		  </SharedPinMaps>
		</ProvidedSocket>

		<ProvidedSocket Label="10" Left="12.4" Top="26.5" Orientation="90" ConstructorParameter="10">
		  <Types>
			<Type>C</Type>
			<Type>I</Type>
			<Type>X</Type>
		  </Types>
		</ProvidedSocket>

	  </ProvidedSockets>

	  <LibrariesProvided>
		<!-- This should be filled in with a list of assemblies provided by the mainboard which are not the standard NETMF assemblies.  Delete the example "CustomMFAssembly" below. -->
		<!-- Providing this list allows the designer to automatically determine when a module that only works with specific mainboards is compatible with the current mainboard. -->
		<Assembly MFVersion="4.2" Name="GHI.Premium.Hardware"/>
		<Assembly MFVersion="4.2" Name="GHI.Premium.Hardware.EMX"/>
		<Assembly MFVersion="4.2" Name="GHI.Premium.System"/>
		<Assembly MFVersion="4.2" Name="GHI.Premium.IO"/>
		<Assembly MFVersion="4.2" Name="GHI.Premium.Native"/>
		<Assembly MFVersion="4.2" Name="GHI.Premium.Net"/>
		<Assembly MFVersion="4.2" Name="GHI.Premium.USBHost"/>

		<Assembly MFVersion="4.3" Name="GHI.Premium.Hardware"/>
		<Assembly MFVersion="4.3" Name="GHI.Premium.Hardware.EMX"/>
		<Assembly MFVersion="4.3" Name="GHI.Premium.System"/>
		<Assembly MFVersion="4.3" Name="GHI.Premium.IO"/>
		<Assembly MFVersion="4.3" Name="GHI.Premium.Native"/>
		<Assembly MFVersion="4.3" Name="GHI.Premium.Net"/>
		<Assembly MFVersion="4.3" Name="GHI.Premium.USBHost"/>

		<!-- The mainboard assembly itself (as listed under <Assemblies> above) should also be listed here, to enable modules representing built-in functionality of a mainboard.-->
		<Assembly MFVersion="4.1" Name="GHIElectronics.Gadgeteer.FEZCobra_II" />
		<Assembly MFVersion="4.2" Name="GHIElectronics.Gadgeteer.FEZCobra_II" />
		<Assembly MFVersion="4.3" Name="GHIElectronics.Gadgeteer.FEZCobra_II" />
	  </LibrariesProvided>

	</MainboardDefinition>
  </MainboardDefinitions>
</GadgeteerDefinitions>